import {createStore} from 'redux'
// import logger from 'redux-logger'
import all from './actions/index'
// 导入工具插件
import {composeWithDevTools} from 'redux-devtools-extension'
// 定义store仓库 
// const store = createStore(all,applyMiddleware(logger))
const store = createStore(all,composeWithDevTools())

export default store
